package com.tbm.console.util;

import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;

public class Array2List {
    public static <T>  List<T> transferArrayToList(T[] array){
        List<T> transferedList = new ArrayList<>();
        Arrays.stream(array).forEach(arr -> transferedList.add(arr));
        return transferedList;
    }

}
